@echo off
echo 正在激活虚拟环境...
call env\Scripts\activate

echo 升级pip并安装setuptools...
python -m pip install --upgrade pip setuptools wheel -i https://pypi.tuna.tsinghua.edu.cn/simple

echo 安装依赖...
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

echo 运行图像处理脚本...
python image_processing.py

pause 